import 'package:flutter/cupertino.dart';

/**
 * @Author: zhouge
 * @Description: 通讯录的相关模拟数据
 * @Date: Created in 15:53 2020-07-12
 * @Modified By:
 **/

class Contact{
  const Contact({
    @required this.avatar,
    @required this.name,
    @required this.nameIndexLetter
});

  final String avatar;
  final String name;
  final String nameIndexLetter;

}

class ContactsPageData {
  final List<Contact> contacts = [
    const Contact(
        avatar: "https://randomuser.me/api/portraits/men/64.jpg",
        name: 'Tom',
        nameIndexLetter: 'T'
    ),
    const Contact(
        avatar: "https://www.randomuser.me/api/portraits/men/19.jpg",
        name: 'James',
        nameIndexLetter: 'J'
    ),
    const Contact(
        avatar: "https://www.randomuser.me/api/portraits/men/11.jpg",
        name: '小艾',
        nameIndexLetter: 'X'
    ),
    const Contact(
        avatar: "https://www.randomuser.me/api/portraits/men/11.jpg",
        name: '小艾',
        nameIndexLetter: 'X'
    ),
    const Contact(
        avatar: "https://www.randomuser.me/api/portraits/men/11.jpg",
        name: '小艾',
        nameIndexLetter: 'X'
    ),
    const Contact(
        avatar: "https://www.randomuser.me/api/portraits/men/11.jpg",
        name: '小艾',
        nameIndexLetter: 'X'
    ),
    const Contact(
        avatar: "https://www.randomuser.me/api/portraits/men/25.jpg",
        name: 'Bluesjames',
        nameIndexLetter: 'B'
    ),
    const Contact(
        avatar: "https://www.randomuser.me/api/portraits/men/10.jpg",
        name: 'Thumesan',
        nameIndexLetter: 'T'
    ),
    const Contact(
        avatar: "https://www.randomuser.me/api/portraits/men/134.jpg",
        name: '武汉',
        nameIndexLetter: 'W'
    ),
    const Contact(
        avatar: "https://www.randomuser.me/api/portraits/men/13.jpg",
        name: 'Steavwe karui',
        nameIndexLetter: 'S'
    ),
    const Contact(
        avatar: "https://www.randomuser.me/api/portraits/men/120.jpg",
        name: 'Furilay',
        nameIndexLetter: 'F'
    ),
    const Contact(
        avatar: "https://www.randomuser.me/api/portraits/men/82.jpg",
        name: 'Maurice Sutton',
        nameIndexLetter: 'M'
    ),
    const Contact(
        avatar: "https://randomuser.me/api/portraits/men/15.jpg",
        name: '妞妞',
        nameIndexLetter: 'N'
    ),
    const Contact(
        avatar: "https://www.randomuser.me/api/portraits/men/111.jpg",
        name: 'Teddy',
        nameIndexLetter: 'T'
    ),
    const Contact(
        avatar: "https://www.randomuser.me/api/portraits/men/54.jpg",
        name: 'DangDang',
        nameIndexLetter: 'D'
    ),
    const Contact(
        avatar: "https://www.randomuser.me/api/portraits/men/73.jpg",
        name: 'Mary',
        nameIndexLetter: 'M'
    ),
    const Contact(
        avatar: "https://randomuser.me/api/portraits/men/29.jpg",
        name: 'Bob',
        nameIndexLetter: 'B'
    ),
    const Contact(
        avatar: " https://randomuser.me/api/portraits/men/47.jpg",
        name: 'Vivan',
        nameIndexLetter: 'V'
    ),
    const Contact(
        avatar: "https://www.randomuser.me/api/portraits/men/61.jpg",
        name: 'David',
        nameIndexLetter: 'D'
    ),
  ];

  static ContactsPageData mock() {
    return ContactsPageData();
  }
}



